import Router from 'koa-router'
import invoiceController from '../controller/invoiceController'

const { uploadinvoice, getInvoiceList } = invoiceController
const router = new Router({ prefix: '/invoice' })

router.post('/upload', uploadinvoice)

router.post('/list', getInvoiceList)
export default router
